package simple.controller;

import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.mvc.View;
import org.nutz.mvc.annotation.At;
import simple.ext.Authority;
import simple.utils.ViewUtil;

@IocBean
public class MainController {

    @At("/")
    @Authority(value="index",name="首页")
    public View index(){
        return ViewUtil.jspView("view.index");
    }
}
